package io.renren.modules.pms.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author LuoShun
 * @emall Lori6166@163.com
 * @date 2022/1/3 17:59
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ProductConditionDTO商品查询条件数据传输对象",description = "用于商品分条件查询条件数据")
public class ProductConditionDTO {

    @ApiModelProperty(value = "搜索条件：关键字", required = false)
    private String keyword;

    @ApiModelProperty(value = "页码", required = true)
    private Integer page;

    @ApiModelProperty(value = "分页大小", required = true)
    private Integer limit;

    @ApiModelProperty(value = "上架状态：0->下架；1->上架", required = false)
    private Integer publishStatus;

    @ApiModelProperty(value = "审核状态：0->未审核；1->审核通过", required = false)
    private Integer verifyStatus;

    @ApiModelProperty(value = "货号", required = false)
    private String productSn;

    @ApiModelProperty(value = "商品分类id", required = false)
    private Integer productCategoryId;

    @ApiModelProperty(value = "品牌", required = false)
    private Integer brandId;

}
